There are two ways to use the SiteMap applet - as a popup window activated by a button, or as a tree in the HTML document itself.
1. As a popup window
Insert This code into between the <Body> tags of your HTML Page.
Click here to extract all needed files with example to your hard drive!
Governor Multimedia Home=nsmain.htm About Governor Multimedia=nsabout.htm Internet Technologies={ RealAudio & RealVideo=nstech.htm#RealAudio ActiveX=nstech.htm#ActiveX GovActive Control={ GovActive Control=nstech.htm#GovActive Pendulum Demo=pendulum.htm } CGI & Perl=nstech.htm#CGI Java=nstech.htm#Java } News and Announcements=nsnews.htm How To Contact Us=nscontact.htm
<param name="SitePic" value="picture URL"> // Picture displayed by applet <param name="FolderPic" value="picture URL"> // Picture used as folder <param name="PagePic" value="picture URL"> // Picture used as page <param name="RootPic" value="picture URL"> // Picture used as root item
About Governor Multimedia=nsabout.htm<about.gif or GovActive Control={<control.gif
2. As a tree in an HTML page
Adding the following parameter to the applet parameter list causes the tree to be drawn within the applet area on the page rather than in a pop-up window...
<param name="InPlace" value="yes">
Adding the following parameter to the applet parameter list causes the in place site map to be drawn without a border...
<param name="NoBorder" value="yes">
3. Changing the applet colours
There are three parameters for controlling the applet colours:
<param name="BackColor" value="0,0,0"> <param name="TextColor" value="255,255,255"> <param name="HighlightColor" value="192,192,255">
The values of these parameters are the "red,green,blue" components of the colour required. The above example sets a black background with white text and a light blue highlight.
N.B. If you change the background colour of the applet, you will also have to alter the page, folder and root icon graphics to match the background, otherwise you will get a white square around each of them.